<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<jsp:include page="../include/header.jsp" />
<jsp:include page="../include/navigation.jsp" />

<h2>Find new media</h2>

<div id="movieInfoTitle">
<h2>${movie.name}</h2>
</div>
<div id="findmovieInfoCover">
	<c:choose>
		<c:when test="${!empty movie.coverUrl}">
			<img class="cover" width="170" height="260" src="${movie.coverUrl}" />
		</c:when>
		<c:otherwise>
			<img class="cover" width="170" height="260" src="${baseUrl}/img/noposter.jpg" />
		</c:otherwise>
	</c:choose>
</div>
<div id="findmovieInfoOverview">
	<p>${movie.overview}</p>
</div>
<div class="clear"></div>
<div id="findmovieControls">
	<p>
		<a href="${baseUrl}/findmovie/addtocollection/${movie.sourceId}">Add to My Collection</a>
	</p>
</div>

<jsp:include page="../include/footer.jsp" />